package com.qf.feign.api;

import com.qf.vo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "goods", path = "/goods")
public interface GoodsService {

    @RequestMapping("/info/{id}")
    public Goods info(@PathVariable("id") Integer id);
}
